<div class="table-body">
    <table id="balanceTable" lay-filter="balanceTable"></table>
</div>

<script>
    layui.use(['form', 'table'], function () {
        var tableIn =layui.table.render({
            elem: '#balanceTable',
            height: 'full-99',
            cellMinWidth: '80',
            url: "{:url('fundsApiTwo')}",
            id: 'balanceTable',
            totalRow: true,
            cols: [[
                { type: 'numbers'},
                { field: 'paymentDate', align: 'center', title: '日期' ,totalRowText:'Total：'},
                {field: 'paymentAmt', title: '充值金额($)', align:"center",
                    style:'color:#FF5722;font-weight:bold',totalRow: true},
                { field: 'paymentSrcCd', align: 'center',  title: '充值方式'},
                { field: 'paymentStatus', align: 'center',  title: '充值状态'}
            ]],
            page: true,
            limit: 20,
            limits: [20, 50, 100],
        });
    });
</script>